package com.ruoyi.system.service.impl;

import com.ruoyi.system.domain.SysStu;
import com.ruoyi.system.mapper.SysStuMapper;
import com.ruoyi.system.service.ISysStuService;
import org.apache.ibatis.jdbc.Null;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysStuServiceImpl implements ISysStuService {

    @Autowired
    private SysStuMapper sysStuMapper;


    @Override
    public SysStu selectSysStuById(Integer stuId) {
        return sysStuMapper.selectSysStuById(stuId);
    }

    @Override
    public List<SysStu> selectAllStudent() {
        System.out.println("学生信息"+sysStuMapper.selectAllStudent());
        return sysStuMapper.selectAllStudent();
    }


}
